]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Fix ordering of status icons
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>
Thu, 25 Aug 2011 18:42:32 +0000 (20:42 +0200)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 25 Aug 2011 21:15:24 +0000 (17:15 -0400)
Otherwise a11y would be added to the right of the power indicator instead of to
the left of keyboard indicator

js/ui/panel.js

index 87f4d0a1740aab60247d2d8eda34e3bddedb43b6..4a46c30712244e0769220596d705cf2c9efdef67 100644 (file)
@@ -964,7 +964,7 @@ Panel.prototype = {
             }
 
             let indicator = new constructor();
-            this.addToStatusArea(role, indicator, i-1);
+            this.addToStatusArea(role, indicator, i);
         }
 
         // PopupMenuManager depends on menus being added in order for